﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OGS.Contracts
{
    /// <summary>
    /// Users class
    /// </summary>
    [Serializable]
    public class User : BaseEntity
    {
        /// <summary>
        /// User ID
        /// </summary>
        public long UserID { get; set; }
        /// <summary>
        /// User name
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// Password
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// First name
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// Phone number
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// Email id
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// Shop number
        /// </summary>
        public string ShopName { get; set; }
        /// <summary>
        /// Address
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// Zip code
        /// </summary>
        public string Zip { get; set; }
        /// <summary>
        /// Area
        /// </summary>
        public string Area { get; set; }
        /// <summary>
        /// State
        /// </summary>
        public string State { get; set; }
        /// <summary>
        /// Landmark
        /// </summary>
        public string Landmark { get; set; }
        /// <summary>
        /// Is active
        /// </summary>
        public bool IsActive { get; set; }
        /// <summary>
        /// Role
        /// </summary>
        public Role Role { get; set; }
        /// <summary>
        /// Bank account number
        /// </summary>
        public string BankAccountNumber { get; set; }
        /// <summary>
        /// Bank name
        /// </summary>
        public string BankName { get; set; }
        /// <summary>
        /// Account number
        /// </summary>
        public string BankAccountName { get; set; }
        /// <summary>
        /// Successfully registerred
        /// </summary>
        public bool IsRegSuccess { get; set; }
        /// <summary>
        /// Social user
        /// </summary>
        public bool IsSocial { get; set; }
        /// <summary>
        /// Blocked
        /// </summary>
        public bool IsBlocked { get; set; }
        /// <summary>
        /// Location
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        /// Latitude
        /// </summary>
        public decimal Latitude { get; set; }
        /// <summary>
        /// Longitude
        /// </summary>
        public decimal Longitude { get; set; }
    }
    [Serializable]
    public class Zips
    {
        public string id { get; set; }
        public string value { get; set; }
    }
    [Serializable]
    public class Areas
    {
        public string Zip { get; set; }
        public string AreaName { get; set; }
        public string State { get; set; }
    }
}
